package fluxx.draft;

import java.awt.Color;

public abstract class Card {
	private final String name, description;
	
	public Card (String name, String description) {
		this.name = name;
		this.description = description;
	}
	
	public abstract Color getColor();
	
	public final String getName() { return name; }
	public final String getDescription() { return description; }
	public final String toString() { return getName(); }

	public abstract void bePlayed(GameState game, Player player)
			throws GameOverException;
}
